<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<!--#include file="includes/common.aspx"-->
<!--#include file="includes/includeitems.aspx"-->
<!--#include file="includes/getValue.aspx"-->
<script  runat="server">
Dim continue="",file=""
Dim amount=0,shipcost=0
Dim email="",fullname="",address=""
Dim tel="",fax=""
Sub Page_Load(ByVal sender As Object, _
	ByVal e As EventArgs)
     continue ="id="  + request.querystring("id")
     continue += "&rows=" + Request.querystring("rows")
     continue += "&pages=" + request.querystring("pages")
     continue +="&page=" + request.querystring("page")
     continue += "&sort=" + request.querystring("sort")
     continue += "&from_=" + request.querystring("from_")	
     file=request.querystring("from_")
    
     if file="" then file="search.aspx"
     if session("shoppingcarts")="" then
	response.redirect("expiry.aspx?" & continue)
     else
	session("shoppingcarts")=session("shoppingcarts")
	session("shoppingcart")=session("shoppingcart")
	session("custinfo")=session("custinfo")
    End if
    email=Seperate(session("custinfo"),"email") 
    fullname=Seperate(session("custinfo"),"fullname") 
    address=Seperate(session("custinfo"),"address") 
    tel=Seperate(session("custinfo"),"tel") 
    fax=Seperate(session("custinfo"),"fax") 
    amount=Seperate(session("custinfo"),"amount") 
    shipcost=Seperate(session("custinfo"),"shipcost") 
    amount=formatnumber(cdbl(amount)+cdbl(shipcost))
End Sub
</script>
<HTML><HEAD><TITLE>InterShop-Online Shopping</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content=""  name=description>
<META content="trading software platform" name=keywords>
<META http-equiv=Pragma content=no-cache>
<LINK href="style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
        	self.defaultStatus = "Online-Shopping!";          
   
</SCRIPT>
</HEAD>
<BODY bottomMargin=0 leftMargin=0 topMargin=0  rightMargin=0 marginheight="0"  marginwidth="0">
<!--#include file="top.aspx"-->
<TABLE cellSpacing=0 cellPadding=0 border=0  width="775" >
  <TBODY> 
  <TR>
    <TD vAlign=top align="center" width="160"> 
      <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#EEEECC"> 
                              <table cellspacing=0 cellpadding=0 border=0  width="100%">
                                <tr> 
                                  <td colspan=2>&nbsp;</td>
                                </tr>
                                <tbody> 
                                <tr  align="left"> 
                                  <td colspan=2> 
                                    <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword class=textbox>
                                  </td>
                                </tr>
                                <tr> 
                                  <td align=left> 
                                    <select name="cbCate">
                                      <option selected>All Products</option>
                                      <option>Books</option>
                                      <option>Poems</option>
                                    </select>
                                    <img height=21 
            alt="Click here to search the Item." 
            src="images/go.gif" 
            width=21 align=absMiddle 
      border=0></td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
	  <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% > 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" bgcolor="#CAE2F0"> 
                              <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword2 class=textbox>
                              <img height=21 
            alt="Click here to search the Item." 
            src="images/go-button.gif" 
            width=21 align=absMiddle 
      border=0> <br>
                              <img src="images/powered-by-google.gif" width="95" height="14"> 
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
       <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/browse-items.gif" width="155" height="19"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#CAE2F0">
							 <!--#include file="includes/listsubcategories.htm"-->
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
      <!--#include file="left.aspx"-->
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=text_normal id=mainContent vAlign=top width="420"> 
      <TABLE cellSpacing=4 cellPadding=4 width="100%" align=left border=0 height="61">
        <TR> 
          <TD vAlign=top align=left height="46"> 
            <!--#include file="submenu.aspx"-->
	<br><h2>Payment by Credit Card<br>
	<font color=blue>You will pay via WorldPay.com</font></h2>
	<hr size=1 color=blue>
             </TD>
        </TR>
        <TBODY> 
        <TR> 
          <TD vAlign=top align=left>
	<form action=dowrl.aspx?<%=continue%>
	method=post name=frmCard 
	onsubmit="return checkinput();">
	<table width="100%" border="0">
                
                <tr> 
                  <td colspan="2"><font face="Arial" color="#000066"><b>Payment 
                    Information</b></font><br>
                    <div align=justify> Please indidate your payment mode. If 
                      you are paying by credit card, please enter your credit 
                      card information and billing address. Your credit card and 
                      billing information are secure, and will only be used for 
                      billing purposes.</div>
                    </td>
                </tr>
               
                <tr> 
                  <td colspan="2" class="row_header"><strong>Billing address</strong></td>
                </tr>
                <tr> 
                  <td valign="top" nowrap>Name of Billing Contact:<font color="#FF0000"> 
                    * </font></td>
                  <td><input name="txtname" type="text" class="textbox"  maxlength="50" value="<%=fullname%>"> 
                  </td>
                </tr>
                <tr> 
                  <td colspan="2"><div align=justify>If paying by credit card, 
                      enter the name as it appears on your card. Otherwise, enter 
                      the name of the person to be billed. </div></td>
                </tr>
                <tr> 
                  <td>Email Address: <font color="#FF0000">*</font> <br> <br></td>
                  <td> <input name="txtemail" type="text" class="textbox" maxlength="50" value="<%=email%>"> 
                  </td>
                </tr>
                <tr> 
                  <td>Billing Address: <font color="#FF0000">*</font> <br> </td>
                  <td><input name="txtaddress" type="text" class="textbox"  maxlength="50" value="<%=address%>"></td>
                </tr>
                <tr> 
                  <td>Country: <font color="#FF0000">*</font> </td>
                  <td> <select name=txtcountry>
                      
                      <option value="ALGERIA">ALGERIA 
                      <option value="ANGOLA">ANGOLA 
                      <option value="ARGENTINA">ARGENTINA 
                      <option value="AUSTRALIA">AUSTRALIA 
                      <option value="AUSTRIA">AUSTRIA 
                      <option value="BAHAMAS">BAHAMAS 
                      <option value="BAHRAIN">BAHRAIN 
                      <option value="BANGLADESH">BANGLADESH 
                      <option value="BELGIUM">BELGIUM 
                      <option value="BERMUDA">BERMUDA 
                      <option value="BHUTAN">BHUTAN 
                      <option value="BOLIVIA">BOLIVIA 
                      <option value="BOTSWANA">BOTSWANA 
                      <option value="BRAZIL">BRAZIL 
                      <option value="BRITISH VIRGIN IS.">BRITISH VIRGIN IS. 
                      <option value="BRUNEI">BRUNEI 
                      <option value="BULGARIA">BULGARIA 
                      <option value="CAMBODIA">CAMBODIA 
                      <option value="CAMEROON">CAMEROON 
                      <option value="CANADA">CANADA 
                      <option value="CHILE">CHILE 
                      <option value="CHINA">CHINA 
                      <option value="COLOMBIA">COLOMBIA 
                      <option value="CONGO">CONGO 
                      <option value="COOK ISLANDS">COOK ISLANDS 
                      <option value="COSTA RICA">COSTA RICA 
                      <option value="CROATIA">CROATIA 
                      <option value="CYPRUS">CYPRUS 
                      <option value="CZECH REPUBLIC">CZECH REPUBLIC 
                      <option value="DENMARK">DENMARK 
                      <option value="DOMINICA">DOMINICA 
                      <option value="DOMINICAN REPUBLIC">DOMINICAN REPUBLIC 
                      <option value="ECUADOR">ECUADOR 
                      <option value="EGYPT">EGYPT 
                      <option value="EL SALVADOR">EL SALVADOR 
                      <option value="ETHIOPIA">ETHIOPIA 
                      <option value="FIJI">FIJI 
                      <option value="FINLAND">FINLAND 
                      <option value="FRANCE">FRANCE 
                      <option value="GERMANY">GERMANY 
                      <option value="GREECE">GREECE 
                      <option value="HAITI">HAITI 
                      <option value="HONDURAS">HONDURAS 
                      <option value="HONG KONG">HONG KONG 
                      <option value="HUNGARY">HUNGARY 
                      <option value="ICELAND">ICELAND 
                      <option value="INDIA">INDIA 
                      <option value="INDONESIA">INDONESIA 
                      <option value="IRAN">IRAN 
                      <option value="IRAQ REPUBLIC">IRAQ REPUBLIC 
                      <option value="IRELAND">IRELAND 
                      <option value="ISRAEL">ISRAEL 
                      <option value="ITALY">ITALY 
                      <option value="JAMAICA">JAMAICA 
                      <option value="JAPAN">JAPAN 
                      <option value="JORDAN">JORDAN 
                      <option value="KENYA">KENYA 
                      <option value="KUWAIT">KUWAIT 
                      <option value="LEBANON">LEBANON 
                      <option value="LUXEMBOURG">LUXEMBOURG 
                      <option value="MACAU">MACAU 
                      <option value="MALAYSIA">MALAYSIA 
                      <option value="MALDIVES">MALDIVES 
                      <option value="MALI">MALI 
                      <option value="MAURITIUS">MAURITIUS 
                      <option value="MEXICO">MEXICO 
                      <option value="MONACO">MONACO 
                      <option value="MOROCCO">MOROCCO 
                      <option value="MYANMAR">MYANMAR 
                      <option value="NEPAL">NEPAL 
                      <option value="NETHERLANDS">NETHERLANDS 
                      <option value="NEW ZEALAND">NEW ZEALAND 
                      <option value="NICARAGUA">NICARAGUA 
                      <option value="NORWAY">NORWAY 
                      <option value="PAKISTAN">PAKISTAN 
                      <option value="PANAMA">PANAMA 
                      <option value="PAPUA NEW GUINEA">PAPUA NEW GUINEA 
                      <option value="PARAGUAY">PARAGUAY 
                      <option value="PERU">PERU 
                      <option value="PHILIPPINES">PHILIPPINES 
                      <option value="POLAND">POLAND 
                      <option value="PORTUGAL">PORTUGAL 
                      <option value="QATAR">QATAR 
                      <option value="ROMANIA">ROMANIA 
                      <option value="RUSSIA">RUSSIA 
                      <option value="RWANDA ">RWANDA 
                      <option value="SAUDI ARABIA">SAUDI ARABIA 
                      <option value="SEYCHELLES">SEYCHELLES 
	       <option value="SINGAPORE">SINGAPORE 
                      <option value="SLOVAK REPUBLIC">SLOVAK REPUBLIC 
                      <option value="SOMALIA">SOMALIA 
                      <option value="SOUTH AFRICA">SOUTH AFRICA 
                      <option value="SOUTH KOREA">SOUTH KOREA 
                      <option value="SPAIN">SPAIN 
                      <option value="SRI LANKA">SRI LANKA 
                      <option value="ST. LUCIA">ST. LUCIA 
                      <option value="SUDAN">SUDAN 
                      <option value="SULTANATE OF OMAN">SULTANATE OF OMAN 
                      <option value="SWEDEN">SWEDEN 
                      <option value="SWITZERLAND">SWITZERLAND 
                      <option value="TAIWAN">TAIWAN 
                      <option value="TANZANIA">TANZANIA 
                      <option value="THAILAND">THAILAND 
                      <option value="TURKEY">TURKEY 
                      <option value="U.A.E.">U.A.E. 
                      <option value="UNITED KINGDOM">UNITED KINGDOM 
                      <option value="URUGUAY">URUGUAY 
                      <option value="USA">USA 
                      <option value="VENEZUELA">VENEZUELA 
                      <option value="VIETNAM" selected>VIETNAM 
                      <option value="VIRGIN ISLANDS">VIRGIN ISLANDS 
                      <option value="YEMEN ">YEMEN 
                      <option value="ZAIRE">ZAIRE 
                      <option value="ZAMBIA">ZAMBIA 
                      <option value="ZIMBABWE">ZIMBABWE</option>
                    </select> </td>
                </tr>
                <tr> 
                  <td>Phone: <font color="#FF0000">* </font></td>
                  <td><input name="txttel" type="text" class="textbox" maxlength="20" value="<%=tel%>"></td>
                </tr>
	  <tr> 
                  <td>Fax No: </td>
                  <td><input name="txtfax"  type="text" class="textbox" maxlength="20" value="<%=fax%>"></td>
                </tr>
                <tr> 
                  <td>&nbsp;</td>
                  <td> <input name="agree" type="checkbox"  value="1">
                    I agree to the <a href="#">Terms 
                    and Conditions</a></td>
                </tr>
                <tr align="left"> 
                  <td colspan="2" ><br><input name="Submit" type="submit" class="button" value="Purchase"> 
                    <input name="Reset" type="reset" class="button" value="Reset">
	<input name="txtamount" type="hidden" class="button" value="<%=amount%>">
		</td>
                </tr>
              </table>
</form>	
 <script src="js/validate.js"></script> 
<script>				 
				 
					
function check_card()
{
	for (i=0;i<frmCard.txtcard.length;i++){
		if(frmCard.txtcard[i].checked){
			return true
		}
	}
	return false;
}					
function checkinput()
{		
		if (isWhitespace(frmCard.txtname.value)){
			alert('Please enter Name')
			frmCard.txtname.focus()
			return false
		}			

		if (isWhitespace(frmCard.txtemail.value) || !isEmail(frmCard.txtemail.value) )
		{
			alert('Please enter E-Mail')
			frmCard.txtemail.focus()
			return false
		}		
		if (isWhitespace(frmCard.txtaddress.value)){
			alert('Please enter Address')
			frmCard.txtaddress.focus()
			return false
		}			
		if (isWhitespace(frmCard.txttel.value)){
			alert('Please enter Telephone')
			frmCard.txttel.focus()
			return false
		}			
		if (!(frmCard.agree.checked==true))
		{
			alert('You do not indicate that you agree with Terms of Service.')
			return false
		}	
}
function openWin(URL){
	arg= "width=540,height=470,resizable=no,scrollbars=yes,status=0,top=10,left=10";	
	window.open(URL,'_blank',arg)
	}			

</script>
	
           </TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=margin valign="top" align="left" width="160"> 
      <TABLE>
        
        <tr> 
          <td>&nbsp;</td>
          <td valign=top> 
            <!--#include file="includes/right-next.htm" -->
          </td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td valign="top"><br>
            <table width="18%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center"> 
                  <table border=0 cellspacing=0 cellpadding=0>
                    <tr valign=bottom align=center> 
                      <td><img src="images/new-products.gif" width="155" height="19"></td>
                    </tr>
                    <tr valign=top align=center> 
                      <td> 
                        <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                          <tr> 
                            <td width=100%> 
                              <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                                <tr> 
                                  <td valign=top width=8% align="left" height="52"> 
                                    <p>&nbsp;</p>
                                  </td>
                                  <td valign=top width=92% align="left" height="52"> 
                                    <!--#include file="includes/right-top.htm" -->
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                  </table>
            </table>
          </td>
        </tr>
        
      </TABLE>
    </TD>
  </TR></TBODY></TABLE>
  <!--#include file="bottom.aspx"-->
</BODY></HTML>
